package com.kzj.global.schedule;

import com.kzj.global.constant.GlobalConstant;
import com.kzj.global.params.GlobalParams;
import com.kzj.global.utils.GlobalUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.scheduling.annotation.SchedulingConfigurer;
import org.springframework.scheduling.config.ScheduledTaskRegistrar;
import org.springframework.scheduling.support.CronTrigger;
import org.springframework.stereotype.Component;

@Component
public class MyTask implements SchedulingConfigurer  {
//    @Autowired
//    MySchedule mySchedule;
    @Autowired
    GlobalParams globalParams;
    @Autowired
    GlobalUtil globalUtil;
    @Autowired
    StringRedisTemplate stringRedisTemplate;
    @Override
    public void configureTasks(ScheduledTaskRegistrar scheduledTaskRegistrar) {
      }
}
